package com.hnevc.caoliuye;

import java.util.HashMap;
import java.util.Map;

public class Example01 {
    public static void main(String[] args) {
        Map<String,String> map = new HashMap();
        map.put("name","小龙");
        map.put("studentId","202065110624");
        map.put("sex","男");
        map.put("age","17");
        System.out.println(map.get("name"));
        map.forEach((key,value)->{
            System.out.println(key+"->"+value);
        });
    }

}
